package com.company;

/**
 * @description:
 * @author: 10445
 * @date: Created in 2020/6/8 17:15
 * @version: v1.0
 * @modified By:
 */
public class WeaponKnife extends Weapon {
    public WeaponKnife(String id, String description, int damagePoints) {
        super(id, description, damagePoints);
    }

    @Override
    public void useArticle(Creature enemycreature) {
        enemycreature.setHPValue(enemycreature.getHPValue()+this.getDamagePoints());

    }
}
